package com.smitish.vueblog.service;

import com.smitish.vueblog.common.dto.ModifyUserInfoDto;
import com.smitish.vueblog.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author Smitish
 * @since 2020-11-30
 */
public interface UserService extends IService<User> {

    /**
     * 修改用户信息的Service
     *
     * @param modifyUserInfoDto 修改信息的实体类
     * @param uid               用户id
     * @return 返回是否成功
     */
    boolean updateUserInfo(ModifyUserInfoDto modifyUserInfoDto, Long uid);
}
